package com.ghy.service;

import com.ghy.entity.EbComment;
import com.ghy.entity.EbNews;

import java.util.List;

public interface CommentService {
    List<EbComment> listByPage(int page, int pageSize);
    Integer getMaxPage(Integer pageSize);
    EbComment selectOne(Integer ecId);
    int updateById(EbComment ebComment);

    int remove(int ecId);
    int updateNews(EbComment ebComment);
}
